package com.toe.commodity.service;


import com.toe.pojo.entity.commodity.CommodityGoodsSpecifications;
import com.toe.pojo.vo.commodity.CommodityGoodsDetailsVO;
import com.toe.pojo.vo.commodity.CommodityGoodsSpecificationsVO;

import java.util.List;

public interface CommodityGoodsSpecificationsService{

    //根据商品id查询商品的规格列表
    List<CommodityGoodsSpecificationsVO> getSpecificationsList(Long id);

    //根据规格id查询商品规格信息
    CommodityGoodsSpecificationsVO getSpecificationsById(Long id);

    List<CommodityGoodsSpecificationsVO> listSpecificationsByIds(List<Long> ids);

    //添加新的规格信息
    void addNewSpecifications (CommodityGoodsSpecifications goodsSpecifications);
}
